package org.openea.eap.module.obpm.service.form;

import org.openbpm.base.api.query.QueryFilter;
import org.openbpm.base.db.model.table.Column;
import org.openbpm.base.db.model.table.Table;
import org.openbpm.base.manager.Manager;
import org.openea.eap.module.obpm.model.form.FormCustDialog;

import java.util.List;
import java.util.Map;

public interface FormCustDialogManager extends Manager<String, FormCustDialog> {
  FormCustDialog getByKey(String key);

  Map<String, String> searchObjName(FormCustDialog formCustDialog);

  Table<Column> getTable(FormCustDialog formCustDialog);

  List<?> data(FormCustDialog formCustDialog, QueryFilter queryFilter);

  boolean existsByKey(String key);
}
